package api

import form.LoginForm
import response.account.LoginBody
import response.base.Res
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.POST

/**
 * @author BX-Gin
 * @since 2024/11/19 09:27
 */
interface AccountApi {
    @POST("login/account")
//    fun login(@Body form: LoginForm): Call<ResponseBody>
    fun login(@Body form: LoginForm): Call<Res<LoginBody>>
}